/**
 * output package name
 */
package com.kingdee.eas.mx.qa;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class ProductType extends StringEnum
{
    public static final String DRESS_VALUE = "10";
    public static final String DECORATE_VALUE = "10";
    public static final String TOY_VALUE = "30";
    public static final String OTHER_VALUE = "40";

    public static final ProductType dress = new ProductType("dress", DRESS_VALUE);
    public static final ProductType decorate = new ProductType("decorate", DECORATE_VALUE);
    public static final ProductType toy = new ProductType("toy", TOY_VALUE);
    public static final ProductType other = new ProductType("other", OTHER_VALUE);

    /**
     * construct function
     * @param String productType
     */
    private ProductType(String name, String productType)
    {
        super(name, productType);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static ProductType getEnum(String productType)
    {
        return (ProductType)getEnum(ProductType.class, productType);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(ProductType.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(ProductType.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(ProductType.class);
    }
}